how many different ways to do two activities